interface Human {
  name: string,

  eat(): void;
}

class Asian implements Human {
  name: string;

  constructor(name: string) {
    this.name = name;
  }

  eat() {

  }
}

interface Man extends Human {
  run(): void;
}

interface Child {
  cry(): void;
}

interface Boy extends Man, Child {

}

let boy: Boy = {
  name: '',
  run() {
  },
  eat() {
  },
  cry() {
  }
};


class Auto {
  state = 1;
}

interface AutoInterface extends Auto {

}

class C implements AutoInterface {
  state = 1;
}

class Bus extends Auto implements AutoInterface {

}
